package com.zz.admin.auth.service;

import com.zz.admin.auth.dto.BaseDataDto;
import com.zz.admin.auth.dto.LoginBackDto;
import com.zz.admin.auth.dto.LoginOrRegisterDto;
import jakarta.servlet.http.HttpSession;

public interface AuthService {
    LoginBackDto login(LoginOrRegisterDto loginOrRegisterDto);

    void logout();

    String getToken(String tokenId, HttpSession session);

    String refreshToken();

    BaseDataDto getBaseData(String userId);
}
